<template>
	<view class="bills-title" @mousedown="mousedown">{{title}}</view>
</template>

<script>
	import cmd from "../../js/Cmd.js"
	export default {
		props:["title"],
		data() {
			return {
				
			};
		},
		methods:{
			mousedown()
			{
				cmd.external(cmd.CMD_MOVE);
			}
		}
	}
</script>

<style lang="scss">
	.bills-title
	{
		width: calc(100% - 40px);
		height: 32px;
		line-height: 32px;
		padding: 4px 20px;
		background: #FFF;
		border-bottom: 1px solid #ECECEC;
		font-size: 20px;
		// position: fixed;
		z-index: 99;
	}
</style>
